home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / LNSEFCTS.ZIP / RAYS.POV < prev    next >
Encoding:
Text File  |  1997-07-18  |  1.6 KB  |  53 lines

  1. // LENS EFFECTS: RAYS COMPONENTS
  2. // *****************************
  3. // This scene illustrates the 8 different types of rays included
  4. // with the Lens Effects Include File.  These are numbered from
  5. // left to right, starting at the top-left corner, ie:
  6. //
  7. //     1   2   3   4
  8. //     5   6   7   8
  9. //
  10. // Note that the rays have been scaled to 50% of normal size to
  11. // fit them all in one image, and the intensity has been set
  12. // to 10 times normal to make them more visible.
  13.  
  14. // CAMERA AND EFFECT OPTIONS
  15.    #declare camera_location = <0, 0, -12>
  16.    #declare camera_look_at = <0, 0, 0>
  17.    #declare effect_scale = .5
  18.    #declare effect_intensity = 10
  19.  
  20.    global_settings {max_trace_level 10}
  21.  
  22. // RAYS TYPE 1
  23.    #declare rays_type = 1
  24.    #declare effect_location = <-6, 2, 0> #include "LNSEFCTS.INC"
  25.  
  26. // RAYS TYPE 2
  27.    #declare rays_type = 2
  28.    #declare effect_location = <-2, 2, 0> #include "LNSEFCTS.INC"
  29.  
  30. // RAYS TYPE 3
  31.    #declare rays_type = 3
  32.    #declare effect_location = <2, 2, 0> #include "LNSEFCTS.INC"
  33.  
  34. // RAYS TYPE 4
  35.    #declare rays_type = 4
  36.    #declare effect_location = <6, 2, 0> #include "LNSEFCTS.INC"
  37.  
  38. // RAYS TYPE 5
  39.    #declare rays_type = 5
  40.    #declare effect_location = <-6, -2, 0> #include "LNSEFCTS.INC"
  41.  
  42. // RAYS TYPE 6
  43.    #declare rays_type = 6
  44.    #declare effect_location = <-2, -2, 0> #include "LNSEFCTS.INC"
  45.  
  46. // RAYS TYPE 7
  47.    #declare rays_type = 7
  48.    #declare effect_location = <2, -2, 0> #include "LNSEFCTS.INC"
  49.  
  50. // RAYS TYPE 8
  51.    #declare rays_type = 8
  52.    #declare effect_location = <6, -2, 0> #include "LNSEFCTS.INC"
  53.